import 'package:aio/aio.dart';
import 'package:app/src/http/url.dart';

//合同特殊审核产品信息
class OemAuditingProduct extends BaseBean {
  //初始的产品名称
  String? ProductInitName = "";

  //当前设置的产品名称
  String? ProductOldName = "";

  //本次修改的产品名称
  String? ProductNewName = "";

  @override
  fromJson(Map<String, dynamic> json) {
    // TODO: implement fromJson
    ProductInitName = json['ProductInitName']?.toString() ?? "";
    ProductOldName = json['ProductOldName']?.toString() ?? "";
    ProductNewName = json['ProductNewName']?.toString() ?? "";
    // json?.forEach((key, value) {
    //   print("key:$key\tvalue:\t$value");
    // });
  }

  @override
  instance() {
    // TODO: implement instance
    return OemAuditingProduct();
  }

  @override
  Map<String, dynamic> toJson() {
    // TODO: implement toJson
    var map = <String, dynamic>{};
    map["ProductInitName"] = ProductInitName;
    map["ProductOldName"] = ProductOldName;
    map["ProductNewName"] = ProductNewName;
    return map;
  }
}
